int minEffort(vector<int>& cases){

    priority_queue<int, vector<int>, greater<int>> q;
    for(auto it: cases){
        q.push(it);
    }
    while(q.size() > 1){

    }
}